package tree;

/**
 * Binary operation tree.
 * @author Natchanon Hongladaromp
 *
 */
public interface Tree
{
	/**
	 * Returns value of that node.
	 * @return value of that node
	 */
	public double value();

	/**
	 * Return string for that node.
	 * @param i order of operation
	 * @return string for that node
	 */
	public String toString(int i);
}
